package com.bw.day_2.adapter



import com.bw.base.entity.GonggaoEntity
import com.bw.base.entity.GonggaoEntityItem
import com.bw.day_2.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class GaoAdapter:BaseQuickAdapter<GonggaoEntityItem,BaseViewHolder>(R.layout.gao_item) {
    override fun convert(helper: BaseViewHolder, item: GonggaoEntityItem) {
        helper.setText(R.id.tv1,item.title)
        helper.setText(R.id.time, "${ item.publishTime }")
        helper.setText(R.id.content,item.content)
    }

}